// lib/models/post_model.dart

class Post {
  final String avatarUrl;
  final String username;
  final String time;
  final String title;
  final String content;
  final List<String> imageUrls;
  final List<String> tags;
  final int likes;
  final int comments;
    final int watch;
  final int shares;
  final bool isFollowed; // 是否已关注
  final int status;//0 已发布 1 待审核  2审核失败

  Post({
    required this.avatarUrl,
    required this.username,
    required this.time,
    required this.title,
    required this.content,
    required this.imageUrls,
    required this.tags,
    required this.likes,
    required this.comments,
    required this.watch,
    required this.shares,
    this.isFollowed = false,
    required this.status
  });
}